package com.liuhouse.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "自定义实体类的描述信息-我是专门用于添加评论的DTO实体类")
public class addCommentDto implements Serializable {
    private Long id;
    private String type;
    @ApiModelProperty(notes = "自定义实体类的字段的描述信息-文章id")
    private Long articleId;
    private Long rootId;
    @ApiModelProperty(notes = "文章内容")
    private String content;
    private Long toCommentUserId;
    private Long toCommentId;
    private Long createBy;
    private LocalDateTime createTime;
    private Long updateBy;
    private LocalDateTime updateTime;
    private Integer delFlag;
}
